package com.approval.dto;

import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 角色响应DTO
 */
@Data
public class RoleResponse {
    
    private Long id;
    private String roleCode;
    private String roleName;
    private String description;
    private String roleType;
    private Long parentId;
    private String parentRoleName;
    private Integer sortOrder;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    
    // 子角色
    private List<RoleResponse> children;
    
    // 权限信息
    private List<PermissionResponse> permissions;
    
    // 用户数量
    private Long userCount;
}
